package com.jy.adscm.operation.cg.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.cg.bean.CgBom;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.zltx.bean.JyDrawingList;

import java.util.List;

/**
 * <p>
 * bom 服务类
 * </p>
 *
 * @author zyl
 * @since 2019-07-07
 */
public interface CgBomService extends IService<CgBom> {

    List<JyDrawingList> selectDrawByParentId(Integer parentId) throws AdscmSystemException;

    List<CgBom> selectByDrawId(Integer drawId);

    boolean deleteCgBom(Integer id);

    List<CgBom> selectByMid(Integer mid);
}
